package com.itheima.dao;

import com.itheima.pojo.Order;


import java.util.List;
import java.util.Map;

public interface OrderDao {


    public List<Order> findByCondition(Order order);

    void add(Order order);

    Map findById(Integer id);

    Integer findOrderCountByDate(String reportDate);

    Integer findOrderCountAfterDate(String lastMondayDate);

    Integer findVisitsCountByDate(String reportDate);

    Integer findVisitsCountAfterDate(String lastMondayDate);

    List<Map> findHotSetmeal();
}
